/**
 * 
 */
package com.dream.house.utils;

/**
 * <p> Project: 服务达人[分页，每页的边界] </p>
 * <p>Function: [功能模块：功能模块] </p>
 * <p> Description: [功能描述：用于分页查询时向controller中传递要查询的边界值]
 * </p>
 * <p> Copyright: Copyright(c) 2009-2018 税友集团 </p>
 * <p>
 * Company: 税友软件集团有限公司
 * </p>
 * @author servyou
 * @version 1.0
 */
public class PageBounds {
	public final static int DEFAULT_ROW_START = 0;
    public final static int DEFAULT_ROW_PAGE_SIZE = 20;

    private int start;
    private int pageSize;

    public PageBounds() {
        this.start = DEFAULT_ROW_START;
        this.pageSize = DEFAULT_ROW_PAGE_SIZE;
    }

    public PageBounds(int start, int pageSize) {
        this.start = start;
        this.pageSize = pageSize;
    }

    public int getStart() {
        return start;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
